Fix display of stipples on NS with respect to cursor highlight
authorPo Lu <luangruo@yahoo.com>
Thu, 2 May 2024 08:56:26 +0000 (16:56 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 2 May 2024 09:27:30 +0000 (17:27 +0800)
commitef6ffbdc79645e719d3b5ef23c9200405c58c61e
tree46496af82e66c32a5f68260ee3e6b1c1e486466c
parent0e0fe20040413d682f8078a2ddfb8f502cb89fb8
Fix display of stipples on NS with respect to cursor highlight

* src/nsfont.m (nsfont_draw): Delete redundant code.

* src/nsterm.m (ns_maybe_dumpglyphs_background): Conform logic
to X version by always displaying the background if s->stipple_p
should be set.
(ns_draw_stretch_glyph_string): Set stipple background as
appropriate.
(ns_set_glyph_string_gc): New function.
(ns_draw_glyph_string): Call it, as on X.  Reported by Arash
Esbati <arash@gnu.org>.
src/nsfont.m
src/nsterm.m